sequential feature selection matlab
Sequential feature selection Matlab
First let's create a very simple dataset. We have some class labels y. 500 are from class 0, and 500 are from class 1, and they are randomly ordered. And we have 100 variables x that we want to use to predict y. 99 of them are just random noise, but one of them is highly correlated with the class label. Now let's say we want to classify the points using linear discriminant analysis. The final 1 in the output indicates that variable 100 is, as expected, the best predictor of y among the variables in x.